#ifndef LABEL_H
#define LABEL_H

#include <QWidget>
#include <QLabel>
#include <QEvent>
#include <QMouseEvent>

class Label : public QLabel
{
    Q_OBJECT
public:
    Label(QWidget* parent = nullptr);
    void enterEvent(QEvent *event);
    void leaveEvent(QEvent* event);
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void wheelEvent(QWheelEvent* event);
    void mouseReleaseEvent(QMouseEvent *event);
    void mouseDoubleClickEvent(QMouseEvent *event);
    static int _Delta;

};

#endif // LABEL_H
